
#include "stdbool.h"
#include "stdint.h"

#define GXHT30_ADDR         0x44

#define GXHT20_MPS_HALF     0x20
#define GXHT20_MPS_ONCE     0x21
#define GXHT20_MPS_TWICE    0x22
#define GXHT20_MPS_FORTH    0x23
#define GXHT20_MPS_TENTH    0x27

void GXHT30_periodicInit();
int GXHT30_read(uint8_t *data);
int GXHT30_onceMeas(uint8_t *data);
